<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div>1</div>
    <div>2</div>
    <div>3</div>
</body>

</html>
<script>
    let falseArrays0 = document.getElementsByTagName("div");
    console.log(falseArrays0);
    [...falseArrays0].forEach(item => console.log(item));

    let falseArrays1 = document.querySelectorAll("div");
    console.log(falseArrays1);
    [...falseArrays1].filter(item => item.innerHTML == '1').forEach(item => console.log(item));

</script>